package com.b.btest;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class InfoActivity extends Activity {

	 @Override
	    public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.activity_info);

	        // Webビューの作成
	        WebView webView = (WebView) findViewById(R.id.webview);
	        webView.setVerticalScrollbarOverlay(true);
	        webView.setWebViewClient(new WebViewClient());
	        WebSettings settings = webView.getSettings();
	        settings.setSupportMultipleWindows(true);
	        settings.setLoadsImagesAutomatically(true);
	        settings.setBuiltInZoomControls(true);
	        settings.setSupportZoom(true);
	        settings.setLightTouchEnabled(true);
	        webView.loadUrl("http://www.yahoo.co.jp/");
	    }

}
